<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<!--#    Copyright 2011 Tri-County Electric Cooperative, St. Matthews, South Carolina
#    This file is part of COOPIP.
#    COOPIP is free software: you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation, either version 3 of the License, or
#    (at your option) any later version.
#    COOPIP is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#    You should have received a copy of the GNU General Public License
#    along with COOPIP.  If not, see <http://www.gnu.org/licenses/>.-->

<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <title>RevenueProtectionIncident.html</title>
  <link rel="stylesheet" type="text/css" href="http://192.168.100.54/style.css" />
</head>

<body>

<div id="logo">
    <img src="/media/TCECLogo.png" name="graphics1" align="left" border="0" height="84" width="198">
</div>

<div id="login">
    {% if not Permission %}
    <form method="post" action="">
    Login:  {{form.Username}} Password:  {{form.Password}} <input value="Login" type="submit">
    {% else %}  <!---# else...  display the rest of the page -->
    {{LoginStatus}} &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<a href="/coopip/revenueprotection/logout/">Logout</a> 
    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<a href="http://192.168.100.54/coopip/revenueprotection/">Revenue Protection Main Menu</a>
</div>



<h1>TCEC Revenue Protection Incident</h1>

<div id="revenueprotectionincidentformoptions">
    <form method="post" action="" enctype="multipart/form-data">
    &nbspSelect Incident: {{form.SelectIncident}} <br>
    <table>
    <tr><td>Incident ID:</td><td>{{form.Incidentid}}</td></tr>
   
    </table>
</div>


<div id="revenueprotectionincidentformleftcolumn">
    <h2>Contact Information</h2>
    <table>
    <tr><td>Description</td><td>{{form.Description}}</td></tr>
    <tr><td>Map Number</td><td>{{form.MapNumber}}</td></tr>
    <tr><td>Name On Account</td><td>{{form.AccountName}}</td></tr>
    <tr><td>Address One</td><td>{{form.AddressOne}}</td></tr>
    <tr><td>Address Two</td><td>{{form.AddressTwo}}</td></tr>
    <tr><td>Address Three</td><td>{{form.AddressThree}}</td></tr>
    <tr><td>City, State Zip</td><td>{{form.City}} {{form.State}} {{form.Zip}}</td></tr>
    <tr><td>Home Phone</td><td>{{form.HomePhone}}</td></tr>
    <tr><td>Cell Phone</td><td>{{form.CellPhone}}</td></tr>
    <tr><td>Other Phone</td><td>{{form.OtherPhone}}</td></tr>
    <tr><td>Fax</td><td>{{form.Fax}}</td></tr>
    <tr><td>Email</td><td>{{form.Email}}</td></tr>
    <tr><td>Update Lat/Lon Manually {{form.UpdatePointManuallyIndicator}}</td><td>Lat:  {{form.Latitude}} Long:  {{form.Longitude}}</td></tr>
    <tr><td>Update Lat/Lon From GIS {{form.UpdatePointFromGISIndicator}}</td><td>GIS Station/Meter# {{form.UpdatePointFromGISField}}</td></tr>
    <tr><td><a href="http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q={{Latitude}}+{{Longitude}}&sll={{Latitude}},{{Longitude}}">Location on Google</a> </td></tr> 
   </table>

    <h2>Charges</h2>
    <table>
    <tr><td>Miscellaneous Charge</td><td>{{form.MiscellaneousCharge}} </td></tr>
    <tr><td>Stolen Current Charge</td><td>{{form.StolenCurrentCharge}}</td></tr>
    <tr><td>Cut Seal Charge</td><td>{{form.CutSealCharge}}</td></tr>
    <tr><td>Tamper Charge</td><td>{{form.TamperCharge}}</td></tr>
    <tr><td>Service Charge</td><td>{{form.ServiceCharge}}</td></tr>
    <tr><td>Total Theft Charges</td><td>{{form.TotalTheftCharges}}</td></tr>
    <tr><td>Charges Description</td><td>{{form.ChargeDescription}}</td></tr>
    <tr><td>Past Due Bill Amount</td><td>{{form.PastDueBillAmount}}</td></tr>
    <tr><td>Bad Debt Amount</td><td>{{form.BadDebtAmount}}</td></tr>
    <tr><td>New Payment:  </td><td>{{form.NewPaymentIndicator}} Amount:  {{form.NewPaymentAmount}}</td><td>{{Form.NewPaymentDateTime}}</td></tr>
    <tr><td>Payment Description:  </td><td>{{form.NewPaymentDescription}}</td></tr>
    </table>

    <h2>Payment History</h2>
    <table>
    {% for amount, date, description in PaymentList %}
        <tr><td>${{amount}}</td><td>{{date}}</td><td>{{description}}</td></tr>
    {% empty %}
        <tr><td>No Payments for this Incident</td></tr>
    {% endfor %}
    </table>

    <h2>Legal Case</h2>
    <table>
    <tr><td>Case Number</td><td>{{form.CaseNumber}}</td></tr>
    <tr><td>Warrant Requested</td><td>{{form.WarrantRequestedIndicator}}</td></tr>
    <tr><td>Hearing Date</td><td>{{form.HearingDateTime}}</td></tr>
    <tr><td>Decision</td><td>{{form.Decision}}</td></tr>
    <tr><td>Order Restitution</td><td>{{form.OrderRestitutionIndicator}}</td></tr>
    <tr><td>Evidence Bag Number</td><td>{{form.EvidenceBagNumber}}</td></tr>     
    <tr><td WIDTH="200">Section 16-13-380. Theft of electric current.</td><td>{{form.LegalCodeTheftIndicator}}</td></tr>
    <tr><td>Section 16-13-385. Altering, tampering with or bypassing electric, gas or water meters.</td><td>{{form.LegalCodeAlterIndicator}}</td></tr>
    <tr><td>Section 16-13-390. Cheating producers of electricity.</td><td>{{form.LegalCodeCheatIndicator}}</td></tr>
    </table>



</div>




<div id="revenueprotectionincidentformrightcolumn">
    <h2>Findings</h2>
    <table>
    <tr><td>InitialFindings:</td><td>{{form.InitialFindingsIndicator}}{{form.InitialFindingsDateTime}}</td></tr> 
    <tr><td>&nbsp</td><td>{{form.InitialFindingsDescription}}</td></tr>
    <tr><td>In Progress:</td><td>{{form.InProgressIndicator}}{{form.InProgressDateTime}}</td></tr> 
    <tr><td>&nbsp</td><td>{{form.InProgressDescription}}</td></tr>
    <tr><td>Closed:</td><td>{{form.ClosedIndicator}}{{form.ClosedDateTime}}</td></tr>
    <tr><td>&nbsp</td><td>{{form.ClosedDescription}}</td></tr>
    <tr><td>Cut Seal</td><td>{{form.CutSealIndicator}}</td></tr>
    <tr><td>Meter Proper Position</td><td>{{form.MeterProperPositionIndicator}}{{form.MeterConditionDescription}}</td></tr>
    <tr><td>Meter Seal In Place</td><td>{{form.MeterSealInPlaceIndicator}}</td></tr>
    <tr><td>Jumper</td><td>{{form.JumperIndicator}}</td></tr>
    <tr><td>Meter Base Good Condition</td><td>{{form.MeterBaseGoodConditionIndicator}}</td></tr>
    <tr><td>Lock Good Condition</td><td>{{form.LockGoodConditionIndicator}}</td></tr>
    <tr><td>Vehicle Tag Number</td><td>{{form.VehicleTagNumber}}</td></tr>
    <tr><td>Vehicle Description</td><td>{{form.VehicleDescription}}</td></tr>
    <tr><td>Vehicles At Location</td><td>{{form.VehiclesAtLocation}}</td></tr>
    <tr><td>Film</td><td>{{form.FilmIndicator}}</td></tr>
    <tr><td>Film Uploaded</td><td>{{form.FilmUploadedIndicator}}</td></tr> 
    </table>

    <h2>Notes</h2>
    <table>
    <tr><td>Upload File</td><td>{{form.UploadFile}}</td></tr>
    <tr><td>Delete File {{form.DeleteFileIndicator}}</td><td>{{form.DeleteFile}}</td>
    <tr><td>Existing Files:</td></tr>
    {% for id, filename in FileList %}
        <tr><td>&nbsp</td><td><a href="/coopip/revenueprotection/incident/file/{{ id }}/">{{ filename }}</a></td></tr>
    {% endfor %}
    <tr><td>New Note</td><td>{{form.Note}}</td></tr>
    <tr><td>Incident Notes</td></tr>
    {% for note in Notes %}
        <tr><td>&nbsp</td><td>{{note}}</td></tr>
    {% endfor %}
    </table>



</div>

<div id="revenueprotectionincidentformcase">
</div>


<div id="revenueprotectionincidentformchargeinfo">
</div>

<div id="revenueprotectionincidentformnotes">

</div>


<div id="revenueprotectionincidentformsubmit">
    New: {{form.NewIndicator}} Update: {{form.UpdateIndicator}} <input value="Submit" type="submit">
</div>



</form>

{% endif %}


</body></html>
